home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set tButtonState to word 2 of the name of member the memberNum of sprite the clickOn of castLib the castLibNum of sprite the clickOn
- if tButtonState = "downState" then
- exit
- else
- hMakeSound("startupClick.aif", 1)
- case tButtonState of
- "upState":
- if hValidClick01() = 1 then
- hButtonScripts(tButtonState)
- end if
- "rolloverState":
- if hValidClick02() = 1 then
- hButtonScripts(tButtonState)
- end if
- end case
- end if
- end
-
- on hButtonScripts pButtonState
- global gDefaultSoundLevel
- hChangeCursor("watch")
- if pButtonState = "rolloverState" then
- hUndoButtonRollover()
- end if
- repeat while soundBusy(1) = 1
- end repeat
- set the soundLevel to gDefaultSoundLevel
- quit()
- end
-